using System;
using System.Collections.Generic;
using System.Text;
using FlatRedBall;
using FlatRedBall.Input;
using FlatRedBall.AI.Pathfinding;
using FlatRedBall.Graphics.Animation;
using FlatRedBall.Graphics.Particle;

using FlatRedBall.Math.Geometry;
using FlatRedBall.Math.Splines;
using BitmapFont = FlatRedBall.Graphics.BitmapFont;
using Cursor = FlatRedBall.Gui.Cursor;
using GuiManager = FlatRedBall.Gui.GuiManager;

#if FRB_XNA || SILVERLIGHT
using Keys = Microsoft.Xna.Framework.Input.Keys;
using Vector3 = Microsoft.Xna.Framework.Vector3;
using Texture2D = Microsoft.Xna.Framework.Graphics.Texture2D;


#endif

namespace NereusGame.Entities.Projectiles
{
	public partial class Bullet
	{
       
        private const float BODY_WIDTH = 1f;
        private const float BODY_HEIGHT = BODY_WIDTH * 2f;
        

		private void CustomInitialize()
		{
            InitializeBullet();

		}

		private void CustomActivity()
		{

		}

		private void CustomDestroy()
		{
            base.Destroy();

		}

        private static void CustomLoadStaticContent(string contentManagerName)
        {


        }

        private void InitializeBullet()
        {
            DeadState();
            Tex.Texture = Bullets;
            Body.ScaleY = Tex.ScaleY = BODY_HEIGHT;
            Body.ScaleX = Tex.ScaleX = BODY_WIDTH;
            lifeCycle = initialLifeCycle = 215;
            DefaultVelocity = 40;
            Damage = 1;
        }

	}
}
